<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class Premium extends Public_Controller
{
	public function __construct()
	{
		parent::__construct();
		//$this->load->model('blog_m');
		$this->load->library('session');
		$this->load->library(array('keywords/keywords'));
		$this->lang->load('uploking');
	}

	// blog/page/x also routes here
	public function index()
	{
		$userData = $this->session->all_userData();
		if (isset($userData['logged_in']) && $userData['logged_in'] && isset($userData['account'])){
			$isLogged = true;
		}else{
			$isLogged = false;
		}
		$this->template
		->title($this->module_details['name'])
		->set('isLogged', $isLogged)
		->build('index', $this->data);
	}
}
